Learn R Programming

Compositional (version 5.5)

Power operation: Power operation

Description

Power operation.

Usage

pow(x, a)

Arguments

x

A matrix with the compositional data.

a

Either a vector with numbers of a single number.

Value

A matrix with the power transformed compositional data.

Details

This is the power operation defined by Aitchison (1986). It is also the starting point of the \(\alpha\)-transformation.

References

Aitchison J. (1986). The statistical analysis of compositional data. Chapman & Hall.

Tsagris M.T., Preston S. and Wood A.T.A. (2011). A data-based power transformation for compositional data. In Proceedings of the 4th Compositional Data Analysis Workshop, Girona, Spain. http://arxiv.org/pdf/1106.1451.pdf

See Also

perturbation, alfa

Examples

Run this code
# NOT RUN {
x <- as.matrix(iris[1:15, 1:4])
a <- runif(1)
pow(x, a)
# }

Run the code above in your browser using DataLab